import requests


def main(text):
    url = f'https://api.ka721.top/api/niutrans?from=zh&to=uy&mazmun={text}'

    response = requests.get(url)

    result = response.json()

    return result['result']

if __name__ == '__main__':
    text = input("请输入要翻译的文本：")
    result = main(text)
    print(result)
